package butler.activity;

import butler.activity.R;
import butler.bl.AddAccount;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class HomeActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Button saveButton = (Button) findViewById(android.R.id.button1);
		saveButton.setOnClickListener(new View.OnClickListener() {
        	public void onClick(View v) {
        		AddAccount.Add(v.getContext());        		
            } });
	}
}